package org.jeecg.modules.demo.st.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * @Description: 学生状态记录
 * @Author: jeecg-boot
 * @Date:   2019-10-27
 * @Version: V1.0
 */
@Data
@TableName("st_state_jilu")
public class StStateJilu implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    private String sysOrgCode;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
    private String pid;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15)
    private String hasChild;
	/**学院名*/
	@Excel(name = "学院名", width = 15)
	private String college;
	/**学生姓名*/
	@ApiModelProperty(value = "学生姓名")
	@Excel(name = "学生姓名", width = 15)
	@Dict(dictTable="st_student",dicCode = "id",dicText = "st_name")
    private String stName;
	/**原因*/
	@ApiModelProperty(value = "原因")
	@Excel(name = "原因", width = 15)
    private String theReason;
	/**离校时间*/
	@ApiModelProperty(value = "离校时间")
	@Excel(name = "离校时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date departureTime;
	/**审批人*/
	@ApiModelProperty(value = "审批人")
	@Excel(name = "审批人", width = 15)
	@Dict(dictTable="sys_user",dicCode = "id",dicText = "realname")
    private String approver;
	/**归校时间*/
	@ApiModelProperty(value = "归校时间")
	@Excel(name = "归校时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date backTime;
	/**确认人*/
	@ApiModelProperty(value = "确认人")
	@Excel(name = "确认人", width = 15)
	@Dict(dictTable="sys_user",dicCode = "id",dicText = "realname")
    private String confirmor;
	/**确认时间*/
	@ApiModelProperty(value = "确认时间")
	@Excel(name = "确认时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;
	/**额外字段1*/
	@Excel(name = "备注", width = 15)
    private String fieldOne;
	/**额外字段2*/
	@Excel(name = "审批人2", width = 15)
    private String fieldTwo;
	/**标识*/
	@Excel(name = "标识", width = 15)
    private String deleted;
	/**排序*/
	@Excel(name = "排序", width = 15)
	private String sort;
   /**状态字段*/
	@ApiModelProperty(value = "状态字段")
	@Excel(name = "状态字段", width = 15)
	@Dict(dictTable="sys_dict_item",dicCode = "id",dicText = "the_reason_text")
	private String theReasonText;
}
